package Animals;

public class Animal {
    private String  name;
    private String color;
    private String shout;
    private int age;
    public Animal(){

    }
    public Animal(  String  name  ,String color,int age,String shout){
        this.name=name;
        this.age=age;
        this.color=color;
        this.shout=shout;
    }
    public void Message(){
        //this.name=name;
       // this.age=age;
       // this.color=color;

        System.out.println(getName()+"今年"+getAge()+"岁是"+getColor());

    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getShout() {
        return shout;
    }

    public void setShout(String shout) {
        this.shout = shout;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
    public static void main(String[]args){

    }
}
